<template>
  <div class="">
    <div class="lunbotu">
      <van-search
        v-model="value"
        show-action
        label="地址"
        placeholder="请输入小区或者地址"
        @search.enter="onSearch"
      >
        <template #action>
          <div @click="onSearch">地图</div>
        </template>
      </van-search>
    </div>
  </div>
</template>
<script>
export default {
  name: "HomePage",
  props: {},
  components: {},
  data() {
    return {};
  },
  computed: {},
  watch: {},
  methods: {},
  created() {},
  mounted() {},
  beforeDestroy() {},
};
</script>
<style lang='less' scoped>
.lunbotu {
  height: 200px;
  width: 100%;
  background-color: lawngreen;
}
</style>